Disable deprecation warnings in tests
authorMatthias Clasen <mclasen@redhat.com>
Wed, 25 Jun 2014 20:23:57 +0000 (16:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 25 Jun 2014 20:29:08 +0000 (16:29 -0400)
We want to test deprecated properties, so failing the tests with
warnings is not productive.

testsuite/a11y/Makefile.am
testsuite/gtk/Makefile.am
testsuite/reftests/Makefile.am

index 96e3e8b2b753a4b455738b495bed559fbe28ad98..b921a37918ac3fb5e837f3e3a6117602b821787a 100644 (file)
@@ -20,7 +20,10 @@ LDADD = \
 
 # work around random file systems showing up in the file chooser,
 # breaking the 'pickers' test
-TESTS_ENVIRONMENT = GIO_USE_VOLUME_MONITOR=unix GSETTINGS_BACKEND=memory
+TESTS_ENVIRONMENT =                    \
+       GIO_USE_VOLUME_MONITOR=unix     \
+       GSETTINGS_BACKEND=memory        \
+       G_ENABLE_DIAGNOSTIC=0
 
 TEST_PROGS += accessibility-dump
 
index d8031ad64bf471a9801bef77a9635e5737b4e52e..0993b85fd5977e52eabcdfd32c6e8bfdd4aa77a4 100644 (file)
@@ -25,6 +25,8 @@ LDADD = \
 
 noinst_PROGRAMS = $(TEST_PROGS)
 
+TESTS_ENVIRONMENT = G_ENABLE_DIAGNOSTIC=0
+
 TEST_PROGS +=                  \
        accel                   \
        accessible              \
index c9fad6cc5ec84076f15d36c8347e0f0ce1c72eb5..702a0fc015b934251bb908907282cb601fa4480a 100644 (file)
@@ -1,7 +1,9 @@
 include $(top_srcdir)/Makefile.decl
 NULL =
 
-TESTS_ENVIRONMENT = GSETTINGS_BACKEND=memory
+TESTS_ENVIRONMENT =                    \
+       GSETTINGS_BACKEND=memory        \
+       G_ENABLE_DIAGNOSTIC=0
 
 TEST_PROGS += gtk-reftest